﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RssNewsFeeder.ErrorHandler
{
    public static class Error
    {
        private static StringBuilder _errorMessage=new StringBuilder();

        public static void LogError(string errorMessage)
        {
            _errorMessage.AppendLine(errorMessage);
        }
        public static string GetError()
        {
            return _errorMessage.ToString();
        }
    }
}
